package com.huitu.whht.base.core.api.wrem.record.entities;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import com.huitu.whht.api.core.common.base.BaseEntity;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.huitu.whht.api.core.common.base.MyLocalDateTimeDeserializer;
import com.huitu.whht.api.core.common.base.MyLocalDateTimeSerializer;
import java.time.LocalDateTime;

/**
 * 说明: 应急事件动态信息记录表实体类,表名称: T_WHHT_WREM_RECORD_R <br/>
 * 日期: 2019-04-15
 * @author LiuCW
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class WremRecordR extends  BaseEntity {

private static final long serialVersionUID = 4L;
    public WremRecordR(){

    }

    /**
      * 事件记录代码
      */
    public String recordId;
    /**
      * 事件代码
      */
    public String eventId;
    /**
      * 事件记录
      */
    public String content;
    /**
      * 时间戳
      */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    public LocalDateTime ts;
    /**
      * 发布时间
      */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    public LocalDateTime releasetime;
    /**
      * 发布人员
      */
    public String publisher;
}